export interface User {
  userId?: number;
  username?: string;
  password: string;
  email?: string;
  phone?: string;
  nickname?: string;
  avatarUrl?: string;
}
export interface LoginUser{
  user: {
    phone: '',
  },
  code: ''
}

export interface CodeUser {
  user: User;
  code?: string;
  confirmPassword?: string;
}

export interface LoginResponse {
  state: boolean;
  msg: string;
  data?: string; // token
}
